<html>

<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>淄川区工程项目规划实施落地一张图系统 - 档案资料查询</title>
  <meta name="keywords" content="一张图" />
  <meta name="description" content="一张图系统" />
  <link rel="stylesheet" href="{{url('openlayers/resource/bootstrap/css/bootstrap.min.css')}}">
  <script src="{{url('openlayers/resource/bootstrap/js/bootstrap.min.js')}}"></script>
  <script src="{{url('openlayers/resource/axios/axios.min.js')}}"></script> 
</head>

<body>
  <div class="container-fluid">    
    <div class="container mb-3 mt-4">
      <form class="d-flex" action="{{ asset('dangan/search') }}" method="get">
        <input type="text" class="form-control border-primary" style="border-top-right-radius: 0px;border-bottom-right-radius: 0px; border: 2px solid;" placeholder="按档案号、建设单位、项目名称、证书号搜索" name="key" aria-label="" aria-describedby="basic-addon2" value="{{$key}}">
        <button type="submit" class="btn btn-primary" style="border-top-left-radius: 0px;border-bottom-left-radius: 0px;">查询</button>
      </form>
    </div>

    
    <table class="table table-striped table-bordered table-hover align-middle">
      <thead>
        <tr>
          <th scope="col">#</th>
          <th scope="col">年份</th>
          <th scope="col" style="min-width: 50px;">类别</th>
          <th scope="col" style="min-width: 200px;">档案号</th>
          <th scope="col" style="min-width: 80px;">建设单位</th>
          <th scope="col" style="min-width: 320px;">项目名称</th>
          <th scope="col" style="min-width: 300px;">项目位置</th>
          <th scope="col" style="min-width: 50px;">选址证</th>
          <th scope="col" style="min-width: 80px;">选址证时间</th>
          <th scope="col" style="min-width: 50px;">用地证</th>
          <th scope="col" style="min-width: 80px;">用地证时间</th>
          <th scope="col" style="min-width: 115px;">方案审定通知书</th>
          <th scope="col" style="min-width: 80px;">审定时间</th>
          <th scope="col" style="min-width: 50px;">工程证</th>
          <th scope="col" style="min-width: 80px;">工程证时间</th>
          <th scope="col" style="min-width: 50px;">竣工证</th>
          <th scope="col" style="min-width: 80px;">竣工证时间</th>
          <th scope="col" style="min-width: 70px;">条件编号</th>
          <th scope="col" style="min-width: 100px;">条件编号时间</th>
          <th scope="col" style="min-width: 70px;">乡村编号</th>
          <th scope="col" style="min-width: 100px;">乡村编号时间</th>
          <th scope="col" class="text-center" style="min-width: 40px;">盒数</th>
        </tr>
      </thead>
      @if(!$dangans->isEmpty())
      <tbody>
        @foreach($dangans as $dangan)
        <tr>
          <td scope="row">{{$dangan->id}}</td>
          <td scope="col">{{$dangan->nianfen}}</td>
          <td scope="col">{{$dangan->leibie}}</td>
          <td scope="col"><a href="{{url("openlayers/pdf/web/viewer.html?file=")}} {{url("openlayers/dangan/$dangan->danganhao")}}.pdf" target="_blank" title="点击查看全部文件资料">{{$dangan->danganhao}}</a></td>
          <td scope="col">{{$dangan->jianshedanwei}}</td>
          <td scope="col">{{$dangan->xiangmumingcheng}}</td>
          <td scope="col">{{$dangan->xiangmuweizhi}}</td>
          <td scope="col">{{$dangan->xuanzhizheng}}</td>
          <td scope="col">{{$dangan->xuanzhishijian}}</td>
          <td scope="col">{{$dangan->yongdizheng}}</td>
          <td scope="col">{{$dangan->yongdishijian}}</td>
          <td scope="col">{{$dangan->fanganshengdingtongzhishu}}</td>
          <td scope="col">{{$dangan->fanganshijian}}</td>
          <td scope="col">{{$dangan->gongchegnzheng}}</td>
          <td scope="col">{{$dangan->gongchengzhegnshijian}}</td>
          <td scope="col">{{$dangan->jungongzheng}}</td>
          <td scope="col">{{$dangan->jungongzhengshijian}}</td>
          <td scope="col">{{$dangan->tiaojianbianhao}}</td>
          <td scope="col">{{$dangan->tiaojianshijian}}</td>
          <td scope="col">{{$dangan->xiangcunbianhao}}</td>
          <td scope="col">{{$dangan->xiangcunshijian}}</td>
          <td scope="col" class="text-center">{{$dangan->heshu}}</td>
        </tr>
        @endforeach
      </tbody>
    @else
      <tbody> 
        <td scope="col" colspan="22" class="text-center">没有要搜索的内容</td>
      </<tbody>
    @endif
    </table>
    <div class="d-flex justify-content-end">{!! $dangans->appends(['key' => $key])->render() !!}</div>    

  </div>

</body>

</html>